Skip to content

Done with Day1 Assignment#29

Open
KKirad wants to merge 2 commits intodhanusir:masterfrom
KKirad:master
Open

Done with Day1 Assignment#29
KKirad wants to merge 2 commits intodhanusir:masterfrom
KKirad:master

Conversation

@KKirad
Copy link

@KKirad KKirad commented Oct 6, 2014

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No puts or any printing line should be there in swap_num method.
The method should return the swapped values.

a = 10
b = 20

then on

c, d = swap_num(10, 20)
c should be 20, d should be 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants